package com.ubxtech.rabbitmq.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotNull;

/**
 * @author Victor.Xiao
 * @since 2023-05-30 11:04
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RabbitmqEventBO {
    private String exchange;
    private String routingKey;
    @NotNull
    private Object message;

//    private CorrelationData correlationData;
//    private MessagePostProcessor messagePostProcessor;
}
